home *** CD-ROM | disk | FTP | other *** search
/ Mac-Source 1994 July / Mac-Source_July_1994.iso / C and C++ / Utilities / Winter Shell 1.0d2 / Source / Libraries / RectangleLib / RectangleLib.h < prev   
Encoding:
C/C++ Source or Header  |  1994-01-14  |  699 b   |  17 lines  |  [TEXT/KAHL]

  1. #pragma once
  2. Boolean RectValid(const Rect *r);
  3. void RectLocalToGlobal(Rect *r);
  4. void RectGlobalToLocal(Rect *r);
  5. void RectPortToGlobal(Rect *r, GrafPtr port);
  6. void RectGlobalToPort(Rect *r, GrafPtr port);
  7. short RectHeight(const Rect *r);
  8. short RectWidth(const Rect *r);
  9. long RectArea(const Rect *r);
  10. Boolean RectWithin(const Rect *r1, const Rect *r2);
  11. Boolean RectIntersect(const Rect *r1, const Rect *r2);
  12. void RectDiff(const Rect *r1, const Rect *r2, Rect *r3);
  13. void RectSize(Rect *r, short h, short v);
  14. void RectMove(Rect *r, short h, short v);
  15. void RectPosition(const Rect *r1, const Rect *r2, short h, short v, Point *pt);
  16. void RectPositionInScreen(const Rect *r, short h, short v, Point *pt);
  17.